package org.itboys.core.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * Auther: 罗尧坤
 * Date: 2018/8/22
 * Description:商品标签类
 */

@Entity(value = "SundayProductLabel", noClassnameStored = true)
public class SundayProductLabel extends BaseMongoEntity {
    private String name;//标签名称
    private String desc;//标签描述

    public SundayProductLabel() {
    }

    public SundayProductLabel(String name, String desc) {
        this.name = name;
        this.desc = desc;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
